package com.coderman.appm;

/**
 * Description:
 * date: 2022/5/19
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public class TimeTest {
    public void test() {
        System.out.println("开始执行TimeTest#test");
        System.out.println("sleep开始");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("sleep结束");
    }


    public boolean testReturn() {
        System.out.println("开始执行TimeTest#testReturn");
        System.out.println("sleep开始");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("sleep结束,准备return true");
        return true;
    }
}
